import type { IModalConfig } from "@/types/index";

const config = {
  pageName: "department",
  header: {
    newTitle: "新建部门",
    editTitle: "编辑部门",
  },
  formItems: [
    {
      type: "input",
      label: "部门名称",
      prop: "name",
      placeholder: "请输入部门名称",
    },
    {
      type: "input",
      label: "部门领导",
      prop: "leader",
      placeholder: "请输入部门领导",
    },
    {
      type: "select",
      label: "上级领导",
      prop: "parentId",
      placeholder: "请选择上级领导",
      options: [],
    },
  ],
};

const modalConfig: IModalConfig = config;

export default modalConfig;
